package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Category;
import entity.Result;

public interface CategoryService extends IService<Category> {


    Result findAll();

    Result add(Category category);

    Result findPage(Integer page, Integer size);

    Result findById(Integer id);

    Result updateId(Category category, Integer id);

    Result delete(Integer id);
}
